<!DOCTYPE html>
<html>
<style>
  :-moz-placeholder {
    color: red;
  }
  :placeholder {
    color: red;
  }
</style>
<body>
  <input placeholder='foobar'>
  <textarea placeholder='foobar'></textarea>
</body>
</html>
